﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using _5.BinarySearchTree.BinarySearchTree;

namespace _5.BinarySearchTree
{
    class Program
    {
        static void Main(string[] args)
        {
            BinaryTree<int> tree = new BinaryTree<int>((x, y) => x.CompareTo(y));

            tree.Add(123);
            tree.Add(123);
            tree.Add(22);
            tree.Add(44344);
            tree.Add(3123);
            tree.Add(1233);

            Console.WriteLine(tree);
        }
    }
}
